package com.zuxia.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoli
 * @since 2024-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Group对象", description="")
@TableName("`group`")
public class Group implements Serializable {

    private static final long serialVersionUID=1L;


    @TableId("group_id")
    @ApiModelProperty(value = "拼团单号")
    private String groupId;

    @ApiModelProperty(value = "商品编号")
    private String shopId;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品类型")
    private Integer shopType;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    @ApiModelProperty(value = "拼团价格")
    private BigDecimal groupPrice;

    @ApiModelProperty(value = "佣金")
    private BigDecimal kickBack;

    @ApiModelProperty(value = "成团条件（多少件成团）")
    private Integer groupCondition;

    @ApiModelProperty(value = "成团周期")
    private Integer groupTime;

    @ApiModelProperty(value = "拼团次数")
    private Integer groupNum;

    @ApiModelProperty(value = "已成团次数")
    private Integer groupSuccessNum;

    @ApiModelProperty(value = "审核状态")
    private Integer groupState;

    @ApiModelProperty(value = "发布状态")
    private Integer groupReleaseStatus;
}
